package com.sngamelib.topdownshooter;

public class Drone
{
	DefenseModule shield;
	DefenseModule armor;
	DefenseModule structure;
	Weapon main;
	
	Drone()
	{
		shield = new DefenseModule();
		armor = new DefenseModule();
		structure = new DefenseModule();
		main = new Weapon();
	}
	
	Drone(DefenseModule _sh, DefenseModule _ar, DefenseModule _st, Weapon _m)
	{
		shield = new DefenseModule(_sh);
		armor = new DefenseModule(_ar);
		structure = new DefenseModule(_st);
		main = new Weapon(_m);
	}
	
	public DefenseModule getShield()
	{
		return shield;
	}
	
	public DefenseModule getArmor()
	{
		return armor;
	}
	
	public DefenseModule getStructure()
	{
		return structure;
	}
	
	public Weapon getWeapon()
	{
		return main;
	}
	
	
	public void setShield(DefenseModule _sh)
	{
		shield = new DefenseModule(_sh);
	}
	
	public void setShield(int _hpp, AspectType _as)
	{
		shield = new DefenseModule(_hpp, _as);
	}
	
	public void setArmor(DefenseModule _ar)
	{
		armor = new DefenseModule(_ar);
	}
	
	public void setArmor(int _hpp, AspectType _as)
	{
		armor = new DefenseModule(_hpp, _as);
	}
	
	public void setStructure(DefenseModule _st)
	{
		structure = new DefenseModule(_st);
	}
	
	public void setStructure(int _hpp, AspectType _as)
	{
		structure = new DefenseModule(_hpp, _as);
	}
	
	public void setWeapon(Weapon _m)
	{
		main = new Weapon(_m);
	}
	
	public void setWeapon(WeaponType _dt, WeaponEffectType _wfxt, float _bd, float _rof, float _ps, float _wfxm)
	{
		main = new Weapon(_dt, _wfxt, _bd, _rof, _ps, _wfxm);
	}
}
